﻿using NetJsWire.JsonRpcHandler;

namespace NetJsWire.Widgets.Ui.Form
{
    public partial class Button
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        ~Button()
        {
            Dispose( false );
        }

        protected override void Dispose( bool disposing )
        {
            string _id = ( ( Renderers.Form.Button ) Renderer ).InternalID;
            if ( disposing && ( components != null ) )
            {
                components.Dispose();
            }

            base.Dispose( disposing );
            WebApplication.Instance.RemoveObject( _id );
        }

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
        }
    }
}
